home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CyberMycha 2003 May
/
cmycha200305.iso
/
MutantStorm
/
setup_mutantstorm_demo.exe
/
{app}
/
script
/
laser-1_2sec.lua
< prev
next >
Wrap
Text File
|
2003-03-11
|
2KB
|
62 lines
-- leave me
local actor = ACTOR_preload()
-- leave me
-- default for this beastie
actor[cp_actor_name] = "laser-1_2sec"
actor[cp_model_dir] = "beasties"
actor[cp_model_name] = "lazer-1"
actor[cp_move_type] = cmt_path
-- actor[cp_score] = 10
actor[cp_in_beastie_count] = 0
actor[cp_in_screen_zoom_box] = 1
-- actor[cp_hit_power] = 5.0
-- movement
actor[cp_move_speed_min] = 0.12
actor[cp_move_speed_max] = 0.12
actor[cp_move_acceleration] = 0.1
actor[cp_move_deceleration] = 0.0
actor[cp_move_inertia_accn] = 0.1
actor[cp_move_inertia_decn] = 0.0
actor[cp_target_stop_dist] = 6.0
actor[cp_turn_lock_angle_inner] = 85.0
actor[cp_turn_lock_angle_outer] = 95.0
actor[cp_turn_speed_still] = 100.0
actor[cp_turn_acceleration_still] = 100.0
actor[cp_turn_inertia_still] = 0.0
actor[cp_turn_speed_moving] = 5.0
actor[cp_turn_acceleration_moving] = 100.0
actor[cp_turn_inertia_moving] = 0.0
actor[cp_weight] = 1.0
actor[cp_health_percent] = 1.0
actor[cp_random_edge_inner_percent] = 80.0
actor[cp_random_edge_outer_percent] = 99.0
actor[cp_launch_hue_shift] = color
actor[cp_difficulty_adjust_speed] = 26.0
-- leave me
c_preload_model( actor )
-- leave me
c_set_random_anim( "pulse1", 1000.0, 2000.0, 0.0, 0.0 )
c_add_particle_to_anim( "pulse1", "mainbone", "laser-fizz" )
c_set_random_anim( "s200", 50.0, 50.0, 0.0, 0.0 )
c_add_sound_to_anim( "s200", "laser-2sec" )
-- new state
-- new state
dofile_lua( "laserfizz-2sec" )